package com.eipv.multidatasource.mapper.mysql;

import com.eipv.component.mybatis.base.mapper.BaseMapper;
import com.eipv.multidatasource.entity.Table;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

@Mapper
public interface MysqlTableMapper extends BaseMapper<Table, String> {


    long loadInDb(@Param("sql") String sql);

    Map selectDynamic(@Param("sql") String sql);

}
